package com.project.dao;

import com.project.entity.RoleResource;

import java.util.List;

public interface RoleResourceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleResource record);

    int insertSelective(RoleResource record);

    RoleResource selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleResource record);

    int updateByPrimaryKey(RoleResource record);

    List<RoleResource> selectByRoleId(int roleid);

    int deleteByRoleId(int roleid);

    int deleteByResourceId(int resourceid);
}